]> dgit.raspbian.org Git - gnome-shell.git/commit
mpris: Prevent DBus race when creating media players
authorBryan Dunsmore <bryan.dunsmore@outlook.com>
Wed, 13 May 2020 05:38:01 +0000 (00:38 -0500)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 13 May 2020 17:46:24 +0000 (19:46 +0200)
commitf526e592fe11900bc311ebedab28713740bca212
tree357fce36e1614e892327bcf62c5274aac4829cb6
parent751a94ab5d65dff47d4a6f45e3efddb6c649ad17
mpris: Prevent DBus race when creating media players

Sometimes an MPRIS media player will create and then destroy an object
before the signals that handle the object's destruction can be created.
This verifies that the object still exists after the necessary signals
have been created.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2776
js/ui/mpris.js